﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel;

namespace PCR.Logic
{
    using PCR.Base;

    /// <summary>
    /// Printing setting class
    /// </summary>
    [DefaultPropertyAttribute("Title")] 
    public class PrintingSetting : IPrintingSetting
    {
        /// <summary>
        /// Get or set the report title
        /// </summary>
        [Browsable(false)]
        public string Title 
        { 
            get { return this._title; }
            set { this._title = value; }
        }
        string _title = string.Empty;

        /// <summary>
        /// Just for show to PropertyGrid
        /// </summary>
        [CategoryAttribute("打印参数"), DescriptionAttribute("标题")]
        public string 标题
        {
            get { return this._title; }
            set { this._title = value; }
        }
                
        /// <summary>
        /// Get or set the report project name
        /// </summary>
        // EditorAttribute()
        [Browsable(false)]
        public string ProjectName
        { 
            get { return this._projectName; }
            set { this._projectName = value; }
        }
        string _projectName = string.Empty;
        
        [CategoryAttribute("打印参数"), DescriptionAttribute("检查项目名称")]
        public string 检查项目名称
        {
            get { return this._projectName; }
            set { this._projectName = value; }
        }
        
        /// <summary>
        /// Get or set the medical branch name
        /// </summary>
        [Browsable(false)]
        public string MedicalBranch
        {
            get { return this._medicalBranch; }
            set { this._medicalBranch = value; }
        }
        string _medicalBranch = string.Empty;

        [CategoryAttribute("打印参数"), DescriptionAttribute("科室")]
        public string 科室
        {
            get { return this._medicalBranch; }
            set { this._medicalBranch = value; }
        }
        
        /// <summary>
        /// Get or set the bed number
        /// </summary>
        [Browsable(false)]
        public string BedNo
        {
            get { return this._bedNo; }
            set { this._bedNo = value; }
        }
        string _bedNo = string.Empty;

        [CategoryAttribute("打印参数"), DescriptionAttribute("床号")]
        public string 床号
        {
            get { return this._bedNo; }
            set { this._bedNo = value; }
        }
        
        /// <summary>
        /// Get or set the sender doctor
        /// </summary>
        [Browsable(false)]
        public string SenderDoctor
        {
            get { return this._senderDoctor; }
            set { this._senderDoctor = value; }
        }
        string _senderDoctor = string.Empty;

        [CategoryAttribute("打印参数"), DescriptionAttribute("送检医师")]
        public string 送检医师
        {
            get { return this._senderDoctor; }
            set { this._senderDoctor = value; }
        }

        /// <summary>
        /// Get or set the diagnosis information
        /// </summary>
        [Browsable(false)]
        public string Diagnosis
        {
            get { return this._diagnosis; }
            set { this._diagnosis = value; }
        }
        string _diagnosis = string.Empty;

        [CategoryAttribute("打印参数"), DescriptionAttribute("临床诊断")]
        public string 临床诊断
        {
            get { return this._diagnosis; }
            set { this._diagnosis = value; }
        }

        /// <summary>
        /// Get or set the memo information
        /// </summary>
        [Browsable(false)]
        public string Memo
        {
            get { return this._memo; }
            set { this._memo = value; }
        }
        string _memo = string.Empty;

        [CategoryAttribute("打印参数"), DescriptionAttribute("备注")]
        public string 备注
        {
            get { return this._memo; }
            set { this._memo = value; }
        }

        /// <summary>
        /// Get or set the checker signature
        /// </summary>
        [Browsable(false)]
        public string CheckerSignature
        {
            get { return this._checkerSignature; }
            set { this._checkerSignature = value; }
        }
        string _checkerSignature = string.Empty;

        [CategoryAttribute("签名"), DescriptionAttribute("检验者")]
        public string 检验者
        {
            get { return this._checkerSignature; }
            set { this._checkerSignature = value; }
        }

        /// <summary>
        /// Get or set the auditor signature
        /// </summary>
        [Browsable(false)]
        public string AuditorSignature
        {
            get { return this._auditorSignature; }
            set { this._auditorSignature = value; }
        }
        string _auditorSignature = string.Empty;

        [CategoryAttribute("签名"), DescriptionAttribute("审核者")]
        public string 审核者
        {
            get { return this._auditorSignature; }
            set { this._auditorSignature = value; }
        }

        /// <summary>
        /// Get or set the note information
        /// </summary>
        [Browsable(false)]
        public string Note
        {
            get { return this._note; }
            set { this._note = value; }
        }
        string _note = string.Empty;
        
        /// <summary>
        /// Get or set the question information
        /// </summary>
        [Browsable(false)]
        public string Question
        {
            get { return this._question; }
            set { this._question = value; }
        }
        string _question = string.Empty;
    }
}
